package com.ruoyi.experiment.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 路由器对象 router
 * 
 * @author 邓鑫
 * @date 2023-07-29
 */
public class Router extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 路由器id */
    @Excel(name = "路由器id")
    private Long routerId;

    /** 路由器名称 */
    @Excel(name = "路由器名称")
    private String routerName;

    public void setRouterId(Long routerId) 
    {
        this.routerId = routerId;
    }

    public Long getRouterId() 
    {
        return routerId;
    }
    public void setRouterName(String routerName) 
    {
        this.routerName = routerName;
    }

    public String getRouterName() 
    {
        return routerName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("routerId", getRouterId())
            .append("routerName", getRouterName())
            .toString();
    }
}
